package com.gnerv.rabbitmq.agent.model.dto;

import lombok.Data;

/**
 * @author Gnerv LiGen
 */
@Data
public class NodeStatusDTO {

    private String name;
    private String type;
    private FileDescriptor fileDescriptor;
    private SocketDescriptor socketDescriptor;
    private ErlangProcesses erlangProcesses;
    private Memory memory;
    private Disk disk;

    @Data
    public static class Memory {
        private long used;
        private long limit;
    }

    @Data
    public static class Disk {
        private long used;
        private long limit;
    }

    @Data
    public static class FileDescriptor {
        private long used;
        private long limit;
    }

    @Data
    public static class SocketDescriptor {
        private long used;
        private long limit;
    }

    @Data
    public static class ErlangProcesses {
        private long used;
        private long limit;
    }

}
